<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <style>
        body {
            font-size: 12px;
            color: gray;
        }

        .top {
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid lightgray;
            width: 100%;
            box-shadow: 0 1px 3px rgba(18, 18, 18, .1);
        }

        .top_div {
            display: flex;
            align-content: flex-start;
            margin-right: 100px;
        }

        .top_help {
            display: flex;
            border: 1px solid gray;
            align-self: flex-start;
            margin-left: 50px;
        }

        .top_img {
            margin-left: 100px;
        }

        .main {

            display: flex;
            justify-content: center;
        }

        .main_div {
            margin-top: 20px;
            width: 400px;
            height: 600px;

        }

        .main_head {
            font-size: 30px;
            font-weight: bold;
            display: flex;
            justify-content: center;
            color: black;
        }

        .main_input {
            border: 1px solid gray;
            padding: 15px 25px;
            margin: 15px 0;
        }

        .main_input input {
            border: none;
            outline: none;
            font-size: 16px;
        }

        .main_input2 {
            display: flex;
            align-items: center;
        }

        a {
            color: rgb(66, 145, 255);
            text-decoration: none;
        }

        .submit input {
            padding: 15px 25px;
            background-color: red;
            width: 100%;
            color: white;
            font-size: 20px;
            border: none;
            border-radius: 5px;
        }

        .footer {
            display: flex;
            flex-direction: column;
            align-content: center;
            flex-wrap: wrap;
            justify-content: center;
            margin: 15px;
        }

        #button1 {
            padding: 16px 21px;
            margin-left: 26px;
            color: white;
            background-color: rgb(87, 86, 95);
            font-weight: bold;
            font-size: 16px;
            border: none;
        }

        .main_input:focus .main_input{
            border-color: red !important;
        }
    </style>
</head>

<body>
    <div class="top">
        <div class="top_img">
            <img src="img/loginlogo.jpg" alt="">
        </div>
        <div class="top_div">
            <span>你好欢迎光临1号店</span>
            <span><a href="./登录.html">请登录</a> </span>
            <div class="top_help">帮助中心 <img src="img/turnb.png" alt="" width="20px"></div>
        </div>
    </div>
    <div class="main">
        <div class="main_div">
            <div class="main_head"> <span>一号店注册</span> </div>
            <form action="">
                <div class="main_input">
                    <input type="text" placeholder="手机号" required>
                </div>

                <div class="main_input2">
                    <div class="main_input" style="width: 52%;">
                        <input type="text" placeholder="验证码">
                    </div>
                    <div>
                        <input type="button" value="发送验证码" id="button1">
                    </div>
                </div>

                <div class="main_input">
                    <input type="password" placeholder="设置密码" required>
                </div>

                <div class="main_input">
                    <input type="password" placeholder="确认密码" required>
                </div>

                <div style="margin: 20px;">
                    点击注册，表示您同意1号店 <a href="#">《服务协议》</a>
                </div>

                <div class="submit">
                    <input type="submit" value="同意协议并注册">
                </div>
            </form>
            <div class="footer">
                <div style="margin-left: 20px;">沪ICP备13044278号I合字81.B2-20130004 |营业执照
                </div>

                <div>Copyright&copy;1号店网上超市2007-2016 . All Rights Reserved
                </div>
            </div>
        </div>
    </div>
</body>

</html>